package com.spring.aop;

import javax.validation.constraints.NotNull;

public class SchoolBean {
	@NotNull (message= "不能为空！" )  
	private String schoolName;
	private String schoolAddr;
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public String getSchoolAddr() {
		return schoolAddr;
	}
	public void setSchoolAddr(String schoolAddr) {
		this.schoolAddr = schoolAddr;
	}
}
